<template>
  <el-dialog :model-value="visible" :show-close="false">
    <template v-if="title" #header>
      <div class="title">
        <span>{{ title }}</span>
      </div>
    </template>
    <slot></slot>
    <template #footer> </template>
  </el-dialog>
</template>

<script setup lang="ts">
defineProps({
  visible: {
    type: Boolean,
    default: false
  },
  title: {
    type: String,
    default: ''
  },
  close: {
    type: Boolean,
    default: true
  }
})
</script>

<style lang="scss" scoped>
.dialog {
}
</style>
